from .controllers.auth import bp
from .controllers.console.rbac.admin import admin
from .controllers.console.rbac.role import role
from .controllers.console.rbac.menu import menu
from .controllers.console.rbac.section import section
from .controllers.console.rbac.log import log
from .controllers.console.login import login

def reg_blueprint(app):
    # 角色
    app.register_blueprint(role)
    # 部门
    app.register_blueprint(section)
    # 管理员
    app.register_blueprint(admin)
    # 菜单
    app.register_blueprint(menu)
    # 日志
    app.register_blueprint(log)
    # 登录
    app.register_blueprint(login)
    # 测试
    app.register_blueprint(bp)
